import { defineStore } from 'pinia'
import { ref } from 'vue'
export const usePlayerStore = defineStore('player', () => {
  //三维模式是否加载成功
  const IsOnReady = ref(false)
  //场景中所有图层（非树结构）
  const TreeInfo = ref('')
  //图层名对应的ID
  const TreeNameObj = ref('')
  return { IsOnReady, TreeInfo, TreeNameObj }
})
